# This dockerfile use nginx image
# VERSION 1.0.0
# Author:  wuxinwudai 1101202419@qq.com


FROM daocloud.io/nginx:1.9.1

# 时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
  && echo '$TZ' > /etc/timezone

#COPY logs /var/log/nginx
COPY nginx/vhost /etc/nginx/conf.d/
COPY nginx/nginx.conf /etc/nginx/nginx.conf

# 拷贝项目
COPY src /var/www/html
